define({ "api": [
  {
    "type": "GET",
    "url": "/applet/buy_goods",
    "title": "积分兑换商品",
    "group": "我的",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"gift_goods_id\":1,   // 商品id\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"兑换成功\",\n    \"data\": \"\",\n    \"url\": null,\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/My.php",
    "groupTitle": "我的",
    "name": "GetAppletBuy_goods"
  },
  {
    "type": "GET",
    "url": "/applet/get_gift_shop",
    "title": "获取礼品券对应商品",
    "group": "我的",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"page\":1,\n     \"size\":10,\n     \"ticket_id\":1,    // 礼品券id\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"ticket_id\": 1,\n            \"name\": \"手机\",     // 商品名字\n            \"image\": \"1.png\",   // 商品封面图\n            \"all_count\": 100,   // 全部数量\n            \"sell_count\": 10,   // 已售\n            \"add_time\": \"2019-07-30 17:26:26\"\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/My.php",
    "groupTitle": "我的",
    "name": "GetAppletGet_gift_shop"
  },
  {
    "type": "GET",
    "url": "/applet/get_gift_ticket",
    "title": "获取礼品券列表",
    "group": "我的",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"10元\",     // 礼品券名称\n            \"score\": 10,        // 积分数\n            \"expire_time\": \"2019-07-30 17:20:26\",   // 有效期\n            \"add_time\": \"2019-07-30 17:20:34\"\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/My.php",
    "groupTitle": "我的",
    "name": "GetAppletGet_gift_ticket"
  },
  {
    "type": "GET",
    "url": "/applet/get_my_order",
    "title": "我的订单",
    "group": "我的",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"page\":1,\n     \"size\":10,\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"userid\": 1,\n            \"number\": \"2019073017331111000\",   // 订单号\n            \"gift_shop_id\": 1,\n            \"score\": 10,\n            \"expire_time\": 1564478426,   // 过期时间\n            \"use_time\": 0,\n            \"is_use\": 0,\n            \"add_time\": \"2019-07-30 17:33:11\",\n            \"ticket\": {\n                \"id\": 1,\n                \"name\": \"10元\",         // 礼品券名字\n                \"score\": 10,\n                \"expire_time\": 1564478426,\n                \"add_time\": \"2019-07-30 17:20:34\"\n            },\n            \"goods\": {\n                \"id\": 1,\n                \"ticket_id\": 1,\n                \"name\": \"手机\",      // 商品名字\n                \"image\": \"1.png\",    // 商品图片\n                \"all_count\": 100,\n                \"sell_count\": 10,\n                \"add_time\": \"2019-07-30 17:26:26\"\n            }\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/My.php",
    "groupTitle": "我的",
    "name": "GetAppletGet_my_order"
  },
  {
    "type": "GET",
    "url": "/applet/get_score_log",
    "title": "获取积分记录",
    "group": "我的",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"page\":1,\n     \"size\":10,\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"打游戏\",\n            \"score\": 10,\n            \"userid\": 1,\n            \"add_time\": \"2019-07-30 17:48:26\"\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/My.php",
    "groupTitle": "我的",
    "name": "GetAppletGet_score_log"
  },
  {
    "type": "GET",
    "url": "/applet/get_user_info",
    "title": "获取用户信息",
    "group": "我的",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": {\n         \"id\":1,                // 用户id\n        \"nickname\": \"cody\",     // 昵称\n        \"headimgurl\": \"1.png\",  // 头像\n        \"score\": 0              // 积分\n    },\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/My.php",
    "groupTitle": "我的",
    "name": "GetAppletGet_user_info"
  },
  {
    "type": "GET",
    "url": "/applet/update_score",
    "title": "增加积分",
    "group": "我的",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"score\":1,\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": \"更新积分成功\",\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/My.php",
    "groupTitle": "我的",
    "name": "GetAppletUpdate_score"
  },
  {
    "type": "GET",
    "url": "/applet/get_goods_list",
    "title": "奇妙小集市列表",
    "group": "通用信息",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"page\":1,\n     \"size\":10,\n     \"type\":1,    // 分类id\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"名字\",   // 商品名字\n            \"image\": \"图片\",   // 商品图片\n            \"type\": 1,\n            \"add_time\": \"2019-07-30 17:09:04\"\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/Index.php",
    "groupTitle": "通用信息",
    "name": "GetAppletGet_goods_list"
  },
  {
    "type": "GET",
    "url": "/applet/get_notice",
    "title": "获取公告",
    "group": "通用信息",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"page\":1,\n     \"size\":10,\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"标题\",\n            \"content\": \"内容1\",\n            \"image\": \"1.png\",\n            \"add_time\": \"2019-07-30\"\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/Index.php",
    "groupTitle": "通用信息",
    "name": "GetAppletGet_notice"
  },
  {
    "type": "GET",
    "url": "/applet/get_strategy",
    "title": "获取攻略图片",
    "group": "通用信息",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": {\n        \"id\": 1,\n        \"thum\": \"1.png\",       // 缩略图\n        \"image\": \"2.png\",      // 大图\n        \"read_strategy\": 1,   //  是否已读。\n        \"add_time\": \"2019-07-30 16:51:12\"\n    },\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/Index.php",
    "groupTitle": "通用信息",
    "name": "GetAppletGet_strategy"
  },
  {
    "type": "GET",
    "url": "/applet/get_type_list",
    "title": "获取奇妙小集市分类列表",
    "group": "通用信息",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,         // 分类id\n            \"name\": \"美食\"  // 分类名字\n        },\n        {\n            \"id\": 2,\n            \"name\": \"文创\"\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/Index.php",
    "groupTitle": "通用信息",
    "name": "GetAppletGet_type_list"
  },
  {
    "type": "GET",
    "url": "/applet/get_video",
    "title": "汉字小剧场视频列表",
    "group": "通用信息",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": " {\n     \"page\":1,\n     \"size\":10,\n     \"token\":\"123\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"获取成功\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"image\": \"1.png\",    // 封面图\n            \"video\": \"1.mp4\",    // 视频地址\n            \"status\": 1,\n            \"add_time\": \"2019-07-30 17:04:56\"\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/Index.php",
    "groupTitle": "通用信息",
    "name": "GetAppletGet_video"
  },
  {
    "type": "GET",
    "url": "/applet/login",
    "title": "小程序登陆",
    "group": "通用信息",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": "{\n     \"code\":\"1311234567\",      // code\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": \"请求成功\",\n    \"data\": [\n        {\n            \"id\": \"12346\",    // 用户id\n            \"read_strategy\":0 ,   // 是否已读攻略  0否  1是\n            \"token\": \"wangshaoqiu.png\",\n        }\n    ],\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/Index.php",
    "groupTitle": "通用信息",
    "name": "GetAppletLogin"
  },
  {
    "type": "GET",
    "url": "/applet/update_user_info",
    "title": "更新用户信息",
    "group": "通用信息",
    "parameter": {
      "examples": [
        {
          "title": "参数",
          "content": "{\n     \"token\"\n     \"nickname\":\"\",\n     \"sex\":\"\",\n     \"headimgurl\":\"\",\n     \"city\":\"\",\n     \"province\":\"\",\n     \"country\":\"\"\n\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "返回",
          "content": "{\n    \"code\": 1,\n    \"msg\": {\n         \"id\":1   // 用户id\n     },\n    \"data\": '',\n    \"url\": \"\",\n    \"wait\": 3\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "application/applet/controller/Index.php",
    "groupTitle": "通用信息",
    "name": "GetAppletUpdate_user_info"
  }
] });
